﻿using System.Globalization;
using System.Threading;
using System.Web.Mvc;
using Ninject;
using nanoCMS.Core.Providers;

namespace nanoCMS.Core.WebProviders {


	public class MainActionFilter : ActionFilterAttribute {
		
		public override void OnResultExecuted(ResultExecutedContext filterContext) {
			if (RequestItems.Redirect != null) {
				filterContext.HttpContext.Response.Redirect(RequestItems.Redirect);
			}
			base.OnResultExecuted(filterContext);
		}

	}
}
